package action;

import java.util.List;

import service.MyService;

import com.opensymphony.xwork2.ActionSupport;

public class ViewIndexAction extends ActionSupport {

	private  MyService myServiceService;
	@Override
	public String execute() throws Exception {
		Object[] objs = myServiceService.getAllPersonObj();
		System.out.println("============1======="+objs.length);
		List ls = myServiceService.getAllPersonList();
		System.out.println("============2=======");
		return SUCCESS	;
	}
	public MyService getMyServiceService() {
		return myServiceService;
	}
	public void setMyServiceService(MyService myServiceService) {
		this.myServiceService = myServiceService;
	}
 

}
 